package com.kth.subtranslator;


public class SrtEntry {

	private final int id;
	private String startTime;
	private String endTime;
	private String content;
	
	public SrtEntry(int id, String startTime, String endTime, String content) {
		this.id = id;
		this.startTime = startTime;
		this.endTime = endTime;
		this.content = content;
	}
	
	public int getId() {
		return id;
	}
	
	public String getStartTime() {
		return startTime;
	}
	
	/**
	 * @param startTime the startTime to set
	 */
	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}
	
	public String getEndTime() {
		return endTime;
	}
	
	/**
	 * @param endTime the endTime to set
	 */
	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
	
	public String getContent() {
		return content;
	}
	
	public void setContent(String content) {
		this.content = content;
	}
	
	@Override
	public String toString() {
		return id + "\n" + getStartTime() + " --> " + getEndTime() + "\n" + getContent();
	}
	
}
